package com.rpj.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@Entity
@Table(name = "students")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer","handler"})
public class StuEntity {
		@Id
	private String stuid;
	private String stuname;
	private String stupassword;
	private String sex;
	private String status;
	private String department;
	//ϵ��
	private String specialty;
	//רҵ��
	private String degree;
	//ѧ��
	private String stuborrowmaxnum;//���ɽ�������
	private String stuborrowbooknum;//�ѽ�������
	private String stugivebooknum;//�ѻ�������
	private String data1;//年级
	private String data2;//借书时间
	private String data3;//还书时间
	private String data4;
	public String getStuid() {
		return stuid;
	}
	public void setStuid(String stuid) {
		this.stuid = stuid;
	}
	public String getStuname() {
		return stuname;
	}
	public void setStuname(String stuname) {
		this.stuname = stuname;
	}
	public String getStupassword() {
		return stupassword;
	}
	public void setStupassword(String stupassword) {
		this.stupassword = stupassword;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getSpecialty() {
		return specialty;
	}
	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getStuborrowmaxnum() {
		return stuborrowmaxnum;
	}
	public void setStuborrowmaxnum(String stuborrowmaxnum) {
		this.stuborrowmaxnum = stuborrowmaxnum;
	}
	public String getStuborrowbooknum() {
		return stuborrowbooknum;
	}
	public void setStuborrowbooknum(String stuborrowbooknum) {
		this.stuborrowbooknum = stuborrowbooknum;
	}
	public String getStugivebooknum() {
		return stugivebooknum;
	}
	public void setStugivebooknum(String stugivebooknum) {
		this.stugivebooknum = stugivebooknum;
	}
	public String getData1() {
		return data1;
	}
	public void setData1(String data1) {
		this.data1 = data1;
	}
	public String getData2() {
		return data2;
	}
	public void setData2(String data2) {
		this.data2 = data2;
	}
	public String getData3() {
		return data3;
	}
	public void setData3(String data3) {
		this.data3 = data3;
	}
	public StuEntity(String stuid, String stuname, String stupassword, String sex, String status, String department,
			String specialty, String degree, String stuborrowmaxnum, String stuborrowbooknum, String stugivebooknum,
			String data1, String data2, String data3) {
		super();
		this.stuid = stuid;
		this.stuname = stuname;
		this.stupassword = stupassword;
		this.sex = sex;
		this.status = status;
		this.department = department;
		this.specialty = specialty;
		this.degree = degree;
		this.stuborrowmaxnum = stuborrowmaxnum;
		this.stuborrowbooknum = stuborrowbooknum;
		this.stugivebooknum = stugivebooknum;
		this.data1 = data1;
		this.data2 = data2;
		this.data3 = data3;
	}
	public StuEntity() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "StuEntity [stuid=" + stuid + ", stuname=" + stuname + ", stupassword=" + stupassword + ", sex=" + sex
				+ ", status=" + status + ", department=" + department + ", specialty=" + specialty + ", degree="
				+ degree + ", stuborrowmaxnum=" + stuborrowmaxnum + ", stuborrowbooknum=" + stuborrowbooknum
				+ ", stugivebooknum=" + stugivebooknum + ", data1=" + data1 + ", data2=" + data2 + ", data3=" + data3
				+ "]";
	}
	
	
}